﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JHT.EFMigrationTest.ClassLibrary1
{
    public class TeacherInfo
    {
        public int Id { get; set; }

        public string TeacherName { get; set; }

        public virtual ICollection<ClassInfo> ClassInfos { get; set; }

        public virtual TeacherTypeEnum TeacherType { get; set; }

        public Address ComlextType { get; set; }
    }

    public enum TeacherTypeEnum
    {
        Master = 1,
        SchoolMaster = 2
    }

    public class Address
    {
        public string Province { get; set; }
        public string Street { get; set; }

        public string Nation { get; set; }
    }
}
